package ${content.items.service.packageName};
<#assign assign_EntityName = content.items.entity.className>
<#assign tableName = content.content.tableName>
import ibp.ioc.service.core.BaseService;
import ${content.items.entity.packageName}.${content.items.entity.className};
import java.util.List;
/**
 * ${content.items.service.className}接口
 * 
 * @author ist
 *
 */
public interface ${content.items.service.className} extends BaseService{
  //获取列表数据
  List<${assign_EntityName}> get${tableName?cap_first}List(${assign_EntityName} ${tableName});

  <#if content.content.primaryField??>
  //获取详情数据
  <#assign assign_idFieldType = content.content.primaryField[0].fieldType>
  <#assign assign_idFieldName = content.content.primaryField[0].fieldName>
  ${assign_EntityName} get${tableName?cap_first}Disp(${assign_EntityName} ${tableName});
  </#if>

  //新增数据
  void insert${tableName?cap_first}(${assign_EntityName} ${tableName});

  //更新数据
  void update${tableName?cap_first}(${assign_EntityName} ${tableName});

  //删除数据
  void delete${tableName?cap_first}(${assign_EntityName} ${tableName});

}
